home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen…tion Library 4 (Reseller) / Apple Ref. & Pres. Lib.v4.0.iso / 5-Fonts & Software / Applications / Microsoft Word / AutoMac III 2.1 / Customization / EdCustoms.R < prev   
Text File  |  1988-04-24  |  7KB  |  356 lines

  1. ***************************************************************************
  2. *
  3. *    EdCustoms.R - Customization Resource for AutoMac™ III MacroEditor
  4. *    RMaker Source File
  5. *    ©1988 H.C.W. Anderson
  6. *    All rights reserved
  7. *
  8. *
  9. *    This file may be used to change several customizable features
  10. *    of the AutoMac III editor module, "MacroEditor".  In order to 
  11. *    do this, you must have two programs available from Apple: "RMaker"
  12. *    and "ResEdit", and you must be an experienced programmer.  If you 
  13. *    do not feel confident doing this, we recommend against it.
  14. *
  15. *
  16. *                    *****  WARNING!!  *****
  17. *
  18. *    Do NOT attempt to modify AutoMac III in this manner unless you
  19. *    are an experienced programmer.  Keep a BACKUP COPY of MacroEditor,
  20. *    in case something should go wrong. And be sure to TEST the resulting
  21. *    changed version with sample program and data disks, before using
  22. *    it with your important data.  As always, we urge you to maintain
  23. *    complete and current backups of all of your programs and data when
  24. *    using AutoMac III and MacroEditor.
  25. *
  26. *
  27. *    INSTRUCTIONS:
  28. *
  29. *    (1) Alter the values in this RMaker source file, as desired.
  30. *
  31. *    (2) Compile this RMaker source file, using RMaker.
  32. *        The result will be a new file, "EdCustoms.rsrc",
  33. *        containing one resource, type "CUST" and i.d.=10.
  34. *
  35. *    (3) Use ResEdit to remove the old "CUST #10" resource
  36. *        from the file "MacroEditor", and copy the new resource in
  37. *        from "EdCustoms.rsrc".
  38. *
  39. ***************************************************************************
  40.  
  41.  
  42.  
  43. ***************************************************************************
  44. *
  45. *    Output File Name
  46. *
  47. ***************************************************************************
  48.  
  49.  
  50. EdCustoms.rsrc
  51.  
  52.  
  53. ***************************************************************************
  54. *
  55. *    Customization Resource (CUST #10)
  56. *
  57. ***************************************************************************
  58.  
  59. TYPE CUST = GNRL
  60.     ,10
  61. *
  62. *
  63. *
  64. *
  65. ***************************************************************************
  66. *
  67. *    Misc ASCII Character Constants Used by MacroEditor
  68. *    (Hexadecimal)
  69. *
  70. ***************************************************************************
  71. *
  72. .H
  73. *    Return key char
  74. 0D
  75. *    Tab key char
  76. 09
  77. *    Backspace key char
  78. 08
  79. *    Enter key char
  80. 03
  81. *
  82. *
  83. ***************************************************************************
  84. *
  85. *    Sizes and Distances in Editor, Measured in Pixels
  86. *    (Integers)
  87. *
  88. ***************************************************************************
  89. *
  90. .I
  91. *    Width of each scroll bar
  92. 16
  93. *    Distance to inset text from editor rectangle and scroll bars
  94. 3
  95. *    Small horizontal scroll interval
  96. 8
  97. *    Large horizontal scroll interval
  98. 240
  99. *    Maximum horizontal scroll distance (fixed)
  100. 1350
  101. *    Threshold distance for recognizing a double click
  102. 3
  103. *
  104. *
  105. ***************************************************************************
  106. *
  107. *    Font Number/Size to Use
  108. *    (Integers)
  109. *
  110. ***************************************************************************
  111. *
  112. *    Font number (4 = Monaco)
  113. 4
  114. *    Font size (9 point)
  115. 9
  116. *
  117. *
  118. ***************************************************************************
  119. *
  120. *    Tab Interval
  121. *    (Integer)
  122. *
  123. ***************************************************************************
  124. *
  125. *    Number of pixels between tab stops
  126. 40
  127. *
  128. *
  129. *
  130. ***************************************************************************
  131. *
  132. *    Size Limits for Editor
  133. *    (Long Integers)
  134. *
  135. *    Note:
  136. *
  137. *    Performance will degrade or errors occur if increased too much.
  138. *
  139. ***************************************************************************
  140. *
  141. .L
  142. *    Maximum number of characters allowed in editor
  143. 24576
  144. *    Maximum number of lines allowed in editor
  145. 3000
  146. *    Maximum size text file allowed to open
  147. 32767
  148. *
  149. *
  150. ***************************************************************************
  151. *
  152. *    Misc ASCII Character Constants Used by MacroEditor
  153. *    (Hexadecimal)
  154. *
  155. *    Note:
  156. *
  157. *    Some of these are duplicates of those above, and should have
  158. *    the same values.
  159. *
  160. ***************************************************************************
  161. *
  162. .H
  163. *    Backspace key char
  164. 08
  165. *
  166. *    Enter key char
  167. 03
  168. *
  169. *    Up arrow key char
  170. 1E
  171. *
  172. *    Down arrow key char
  173. 1F
  174. *
  175. *    Left arrow key char
  176. 1C
  177. *
  178. *    Right arrow key char
  179. 1D
  180. *
  181. *
  182. ***************************************************************************
  183. *
  184. *    Command keys for Editor Dialog Box
  185. *    (Hexadecimal)
  186. *
  187. *    Note:
  188. *
  189. *    Command keys are given as "key numbers", not ASCII characters.
  190. *    (A key number of $FF indicates that no command key is desired.)
  191. *
  192. ***************************************************************************
  193. *
  194. *    [count; do not change]
  195. 0C
  196. *    OK
  197. FF
  198. *    Check T
  199. 11
  200. *    Help H
  201. 04
  202. *    Cancel .
  203. 2f
  204. *    Cut X
  205. 07
  206. *    Copy C
  207. 08
  208. *    Paste V
  209. 09
  210. *    Clear none
  211. FF
  212. *    New N
  213. 2D
  214. *    Open O
  215. 1f
  216. *    Save As A
  217. 00
  218. *    Revert R
  219. 0F
  220. *    [unused]
  221. FF
  222. *
  223. *
  224. ***************************************************************************
  225. *
  226. *    Default Time for "Click" Command, in Ticks
  227. *    (Hexadecimal)
  228. *
  229. ***************************************************************************
  230. *
  231. *    Number of ticks to hold mouse down during a click
  232. 06
  233. *
  234. *
  235. *
  236. ***************************************************************************
  237. *
  238. *    Misc ASCII Character Constants Used by MacroEditor
  239. *    (ASCII)
  240. *
  241. *    Note:
  242. *
  243. *    These are the characters used as separators, etc. in macros.
  244. *
  245. ***************************************************************************
  246. *
  247. .S
  248. *    Comma
  249. ,
  250. *     Colon
  251. :
  252. *     Right parenthesis
  253. )
  254. *     Left parenthesis
  255. (
  256. *    Dash
  257. -
  258. *    Line continuation char
  259. \
  260. *
  261. *
  262. *
  263. ***************************************************************************
  264. *
  265. *    Misc ASCII Character Constants Used by MacroEditor
  266. *    (Hexadecimal)
  267. *
  268. *    Note:
  269. *
  270. *    Some of these are duplicates of those above, and should have
  271. *    the same values.
  272. *
  273. ***************************************************************************
  274. *
  275. .H
  276. *    Comment marker char (= "*")
  277. 2A
  278. *     Space char
  279. 20
  280. *     Tab char
  281. 09
  282. *     Carriage return char
  283. 0D
  284. *     Decimal point (= ".")
  285. 2E
  286. *
  287. *
  288. *
  289. ***************************************************************************
  290. *
  291. *    Character to Symbolize "Null" Char in Desk Accessory Names
  292. *    (Hexadecimal)
  293. *
  294. *    Note:
  295. *
  296. *    Desk accessory names in the Menu command must have a special
  297. *    character in front, to symbolize the hidden "null" character.
  298. *    We use "+" for this purpose.
  299. *
  300. ***************************************************************************
  301. *
  302. *     Leading char in desk accessory names (= "+")
  303. 2B
  304. *     [unused]
  305. 00
  306. *
  307. *
  308. *
  309. ***************************************************************************
  310. *
  311. *    ASCII Character Values of the Specially Named Keys
  312. *    (Hexadecimal)
  313. *
  314. *    Note:
  315. *
  316. *    Certain keys are specially named, such as Tab, Backspace, etc.
  317. *    That is, they aren't entered as a single character in the editor.
  318. *    These are the character values corresponding to those special
  319. *    names.  (The names themselves are defined in the STR# resource.)
  320. *
  321. ***************************************************************************
  322. *
  323. *     "Backspace" char
  324. 08
  325. *     "Tab" char
  326. 09
  327. *     "Return" char
  328. 0D
  329. *     "Space" char
  330. 20
  331. *     "Enter" char
  332. 03
  333. *     "Digit0" char
  334. 30
  335. *     "Digit1" char
  336. 31
  337. *     "Digit2" char
  338. 32
  339. *     "Digit3" char
  340. 33
  341. *     "Digit4" char
  342. 34
  343. *     "Digit5" char
  344. 35
  345. *     "Digit6" char
  346. 36
  347. *     "Digit7" char
  348. 37
  349. *     "Digit8" char
  350. 38
  351. *     "Digit9" char
  352. 39
  353. *     [unused; do not use]
  354. 00
  355.  
  356.